<%-- <%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="layout.tld" prefix="e"%>
<e:override name="title">${OnlineUser.username}的Article</e:override>
<e:override name="other_style">
</e:override>
<e:override name="content">
	<div class="container">

		<ol class="breadcrumb">
			<li><a href="http://www.thinksaas.cn/">首页</a></li>
			<li class="active">文章</li>
		</ol>

		<div class="row">



			<div class="col-md-10">

				<div class="bbox">

					<h1>提交成功</h1>
					<a href="<c:url value="${jumpurl}" />"><span id="jumpTo">3</span>秒后系统会自动跳转，也可点击本处直接跳
						, ${msg}</a>

				</div>
			</div>
		</div>
	</div>
</e:override>
<e:override name="more_script">
	<script>
		(function() {
			countDown(3, '${jumpurl}');
		})();
		
		function countDown(secs, surl) {
			var jumpTo = document.getElementById('jumpTo');
			jumpTo.innerHTML = secs;
			if (--secs > 0) {
				setTimeout("countDown(" + secs + ",'" + surl + "')", 1000);
			} else {
				location.href = surl;
			}
		}
	</script>
</e:override>

 --%>
<%@ page language="java" import="java.util.*"
	contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />

<title></title>
<script type="text/javascript">
	function countDown(secs, surl) {
		var jumpTo = document.getElementById('jumpTo');
		jumpTo.innerHTML = secs;
		if (--secs > 0) {
			setTimeout("countDown(" + secs + ",'" + surl + "')", 1000);
		} else {
			location.href = surl;
			-ma
		}
	}
</script>
</head>

<body>
	<h1>提交成功</h1>
	<a href="<c:url value="${jumpurl}" />"> <span id="jumpTo">3</span>
		秒后系统会自动跳转，也可点击本处直接跳
	</a>
	<script type="text/javascript">
		countDown(3, '${jumpurl}');
	</script>
</body>
</html>